package com.act.constant;

/**
 * @desc Response枚举
 */
public enum AnchorType {

    TOP_CENTER(1, "TopCenter"),
    TOP_RIGHT(2, "TopRight"),
    TOP_LEFT(3, "TopLeft"),
    RIGHT_MIDDLE(4, "RightMiddle"),
    LEFT_MIDDLE(5, "LeftMiddle"),
    BOTTOM_CENTER(6, "BottomCenter"),
    BOTTOM_RIGHT(7, "BottomRight"),
    BOTTOM_LEFT(8, "BottomLeft"),
    CENTER(9, "Center");

    private int code;

    private String desc;

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    AnchorType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
